package com.hxzy.shop.dto.convert;

import com.hxzy.shop.dto.marketingCalendar.CouponSaveReq;
import com.hxzy.shop.entity.BackCoupon;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Author ht
 * @Date 2021/7/8 9:03
 * @Version 1.0
 */
@Mapper
public interface  CouponConvert {
    public static CouponConvert INSTANCE = Mappers.getMapper(CouponConvert.class);
    public BackCoupon toBackCoupon(CouponSaveReq couponSaveReq);


//    public abstract Coupon couponEditReq2Coupon(CouponEditReq couponEditReq);
//    public abstract List<CouponListResp> coupon2CouponListResp(List<Coupon> coupon);
}
